<?php /* Smarty version Smarty-3.1.18, created on 2015-07-17 14:33:21
         compiled from "D:\WWW\yf_qiaqia\Admin\View\Forms\log.html" */ ?>
<?php /*%%SmartyHeaderCode:31942559e0e2f51a709-60617613%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5e8ad0c6270bf30e76ce12e5fc853c5853b0991c' => 
    array (
      0 => 'D:\\WWW\\yf_qiaqia\\Admin\\View\\Forms\\log.html',
      1 => 1437114314,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '31942559e0e2f51a709-60617613',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_559e0e2f6fed77_14327731',
  'variables' => 
  array (
    '_C' => 0,
    'form_id' => 0,
    'table_list' => 0,
    'tl' => 0,
    'art_list' => 0,
    'tv' => 0,
    'art' => 0,
    'art_page' => 0,
    'arr' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_559e0e2f6fed77_14327731')) {function content_559e0e2f6fed77_14327731($_smarty_tpl) {?><!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/amazeui.min.css"/>
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/hy.admin.css"/>
	</head>
	<body>
		<div class="am-g">
			 <?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

			 	
      <div class="am-u-md-6 am-cf">
        <div class="am-fl am-cf">
          <div class="am-btn-toolbar am-fl">
            <div class="am-btn-group am-btn-group-xs">
            	<button data-id="daoform" data-href="index.php?g=admin&m=forms&a=dao_log&id=<?php echo $_smarty_tpl->tpl_vars['form_id']->value;?>
" type="button" class="am-btn am-btn-default hy-js-href"><span class="am-icon-plus"></span> 导出数据</button>
            </div>

            <div class="am-form-group am-margin-left am-fl">
            </div>
          </div>
        </div>
      </div>
      <div class="am-u-md-6 am-cf">
        <div class="am-fr">
        <form role="form" method="post" enctype="multipart/form-data" action="index.php?g=admin&m=forms&a=log&id=<?php echo $_smarty_tpl->tpl_vars['form_id']->value;?>
">
          <div class="am-input-group am-input-group-sm">
          	<input type="hidden" name="form_id" value="<?php echo $_smarty_tpl->tpl_vars['form_id']->value;?>
">
            <input value=""  type="file" name="file" class="am-form-field" style="width: 50%;float: right;">
                <span class="am-input-group-btn">
                  <button class="am-btn am-btn-default" type="submit">上传</button>
                </span>
          </div>
         </form>
        </div>
      </div>
      
      <div class="am-g">
      <div class="am-u-sm-12">
        <div class="am-form">
          <table class="am-table am-table-striped am-table-hover hy-table-main">
            <thead>
              <tr>
                <th class="table-check"></th>
                <?php  $_smarty_tpl->tpl_vars['tl'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tl']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['table_list']->value['table']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tl']->key => $_smarty_tpl->tpl_vars['tl']->value) {
$_smarty_tpl->tpl_vars['tl']->_loop = true;
?>
                <th class="table-title"><?php echo $_smarty_tpl->tpl_vars['tl']->value;?>
</th>
                <?php } ?>
                <th class="table-set">操作</th>
              </tr>
          </thead>
          <tbody>
          	 <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['art_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['art']->key => $_smarty_tpl->tpl_vars['art']->value) {
$_smarty_tpl->tpl_vars['art']->_loop = true;
?>
            <tr>
              <td></td>
              <?php  $_smarty_tpl->tpl_vars['tv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['table_list']->value['val']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tv']->key => $_smarty_tpl->tpl_vars['tv']->value) {
$_smarty_tpl->tpl_vars['tv']->_loop = true;
?>
              <td><?php echo $_smarty_tpl->tpl_vars['art']->value[$_smarty_tpl->tpl_vars['tv']->value];?>
</td>
              <?php } ?>
              <td>
              	<button data-param ="{ url:'index.php?g=admin&m=forms&a=del_log&form_id=<?php echo $_smarty_tpl->tpl_vars['form_id']->value;?>
&id=<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
',hide:4}" class="am-btn am-btn-default am-btn-xs am-text-danger hy-js-del"><span class="am-icon-trash-o"></span> 删除</button>
              </td>
            </tr>
             <?php } ?> 
          </tbody>
        </table>
          <div class="am-cf">

  <div class="am-fr">
  <?php echo $_smarty_tpl->tpl_vars['art_page']->value;?>

  </div>
</div>
          <hr />
      
        </div>
      </div>

    </div>
    </div>
    <?php if ($_smarty_tpl->tpl_vars['arr']->value['error']==1) {?>
    	<script>
    		var msg = "<?php echo $_smarty_tpl->tpl_vars['arr']->value['content'];?>
";
    		alert(msg);
    	</script>
    <?php }?>
   <?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

	</body>
</html>
<?php }} ?>
